package com.situ.day5.stati;

public class Demo {

    public static void main(String[] args) {
        //new 对象
        //对象.属性   对象.方法()
        Student student = new Student();
        student.setId(1);
        student.setName("张三");
        System.out.println(student.name);
        student.show();

        System.out.println("----------------");
        //对象.静态属性  不建议这样使用
        System.out.println(student.country);
        //类名.静态属性
        System.out.println(Student.country);

        student.print();
        Student.print();

        //'Math()' has private access in 'java.lang.Math'
        //Math math = new Math();
        int max = Math.max(3, 5);
        System.out.println(max);

        int[] array = new int[3];
        //ArrayUtil arrayUtil1 = new ArrayUtil();
        //ArrayUtil arrayUtil2 = new ArrayUtil();
        //int max1 = arrayUtil1.max(array);

        int min = ArrayUtil.min(array);

    }
}
